home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
vector.lha
/
vector
/
enum.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-11-23
|
368b
|
16 lines
#ifndef _ENUM_H
#define _ENUM_H
/* Portable way of producing class-scoped enumerated type names.
* Enum(class,enum) produces class::enum for 2.1 and later compilers,
* enum for 2.0 compilers. For now, just assume Saber-C is 2.0, everything
* else is 2.1 or greater.
*/
#ifndef SABER_C
#define Enum(c,e) c::e
#else
#define Enum(c,e) e
#endif
#endif /*_ENUM_H*/